Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix relation manager url generation #1995

Merged
merged 3 commits into from
Oct 21, 2024
Merged

fix relation manager url generation #1995

merged 3 commits into from
Oct 21, 2024

Conversation

AidasK
Copy link
Contributor

@AidasK AidasK commented Oct 20, 2024

urls should not be hardcoded so changed it to a commonly used function.

Current solution does not work for me as it conflicts with other used package codezero/laravel-localized-routes which prefixes all the routes with language. Though it's not a bit issue, but I think it's good to have a one way to generate urls in the code base. ManageOrder::getUrl(['record' => $record]) is already used in many places.

urls should not be hardcoded so changed it to a commonly used function
Copy link

vercel bot commented Oct 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lunar-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 21, 2024 7:04am

@alecritson alecritson merged commit 694014e into lunarphp:1.x Oct 21, 2024
21 checks passed
@AidasK AidasK mentioned this pull request Oct 22, 2024
alecritson pushed a commit that referenced this pull request Oct 22, 2024
same as #1995

Co-authored-by: Aidas Klimas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants